/**
 * Copyright (c) 2006 RiseSoft Co.,Ltd  
 * $Header$
 */
package cn.newtest.bi.collection.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Lob;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 *
 *
 * @author <a href="mailto: chenjian@risesoft.net">陈健</a>
 * @version $Revision$
 * 
 * @hibernate.class 
 * table="Rpt_AuditFault" 
 * dynamic-insert="true"
 * dynamic-update="true"
 * 
 */
@Entity
@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@Table(name="Rpt_AuditFault")
public class AuditFault implements Serializable {

	private static final long serialVersionUID = 3697803760182673757L;
	
	@Id
	@Column(name="AuditFault_GUID",length=38)
	@GenericGenerator(name="AuditFault-assigned",strategy="assigned")
	private String guid;
	
	@Column(name="target_guid",length=38)
	private String targetGuid;
	
	@Lob
	private String faultContent;
	
	@Lob
	private String explanation;

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getTargetGuid() {
		return targetGuid;
	}

	public void setTargetGuid(String targetGuid) {
		this.targetGuid = targetGuid;
	}

	public String getFaultContent() {
		return faultContent;
	}

	public void setFaultContent(String faultContent) {
		this.faultContent = faultContent;
	}

	public String getExplanation() {
		return explanation;
	}

	public void setExplanation(String explanation) {
		this.explanation = explanation;
	}
	
}
